//
//  UIButton+CPJButton.h
//  成品家
//
//  Created by YYY on 2017/3/3.
//  Copyright © 2017年 成品家（北京）网路科技有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIButton (CPJButton)

//UIButton内容宽、高自适应
-(CGSize)boundingRectWithSize:(CGSize)size;

//文字按钮
-(void)setTitleStr:(NSString *)titleStr frame:(CGRect)frame titleColor:(UIColor *)titleColor fontSize:(CGFloat)fontSize;

//图片按钮
-(void)setImageStr:(NSString *)imageStr frame:(CGRect)frame;

//圆角按钮
-(void)setRadiusTitleStr:(NSString *)titleStr frame:(CGRect)frame titleColor:(UIColor *)titleColor fontSize:(CGFloat)fontSize radius:(CGFloat)radius borderColor:(UIColor *)borderColor borderWidth:(CGFloat)borderWidth;


@end
